package city.spring.service;

import city.spring.domain.entity.RetreatRegisterEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * Service：退住登记
 *
 * @author 谢金婷
 * @date 2020-04-17 11:33:53
 */
public interface RetreatRegisterService extends IService<RetreatRegisterEntity> {
    String CACHE_NAME = "retreat_register";

    /**
     * 业务处理：保存一个 <strong>退住登记</strong>
     *
     * @param entity 退住登记
     */
    void saveRetreatRegister(RetreatRegisterEntity entity);

    /**
     * 业务处理：修改一个 <strong>退住登记</strong>
     *
     * @param entity 退住登记
     */
    void updateRetreatRegister(RetreatRegisterEntity entity);

    /**
     * 业务处理：删除一个 <strong>退住登记</strong>
     *
     * @param primaryKey 主键ID
     */
    void deleteRetreatRegister(String primaryKey);

    /**
     * 业务处理：删除多个 <strong>退住登记</strong>
     *
     * @param primaryKeys 主键ID列表
     */
    void deleteRetreatRegister(List<String> primaryKeys);
}